package com.equipment.fkdcn.service;

import com.equipment.fkdcn.mapper.EUserMapper;
import com.equipment.fkdcn.pojo.EUser;

import java.util.List;
import java.util.Map;

public class EUserServiceImpl implements EUserService {
    private EUserMapper userMapper;

    public void setUserMapper(EUserMapper userMapper) {
        this.userMapper = userMapper;
    }

    public List<EUser> login(Map<String,Object> map) {
        return userMapper.login(map);
    }

    public boolean upPwd(EUser user) {
        return userMapper.upPwd(user);
    }

    public String idQuery(String amdin) {
        return userMapper.idQuery(amdin);
    }

    public boolean addUser(EUser eUser) {
        return userMapper.addUser(eUser);
    }
}
